package com.meixiang.entity.calaendar;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者：黑哥 on 2016/6/12 10:43
 */
public class CalendarResult implements Parcelable {

    private String remindTime;
    private List<ScheduleListBean> scheduleList;
    public String getRemindTime() {
        return remindTime;
    }

    public void setRemindTime(String remindTime) {
        this.remindTime = remindTime;
    }

    public List<ScheduleListBean> getScheduleList() {
        return scheduleList;
    }

    public void setScheduleList(List<ScheduleListBean> scheduleList) {
        this.scheduleList = scheduleList;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.remindTime);
        dest.writeList(this.scheduleList);
    }

    public CalendarResult() {
    }

    protected CalendarResult(Parcel in) {
        this.remindTime = in.readString();
        this.scheduleList = new ArrayList<ScheduleListBean>();
        in.readList(this.scheduleList, ScheduleListBean.class.getClassLoader());
    }

    public static final Parcelable.Creator<CalendarResult> CREATOR = new Parcelable.Creator<CalendarResult>() {
        @Override
        public CalendarResult createFromParcel(Parcel source) {
            return new CalendarResult(source);
        }

        @Override
        public CalendarResult[] newArray(int size) {
            return new CalendarResult[size];
        }
    };
}
